<ul class="item-list">
{% for model in models %}
    <li>
        <h1><a href="{{ path('model', {
            brand: model.brand.name,
            modelId: model.id,
            modelName: model.name
        }) }}"><span>{{ model.brand.name }}</span> {{ model.name }}</a></h1>

        <a href="{{ path('model', {
            brand: model.brand.name,
            modelId: model.id,
            modelName: model.name
        }) }}"><img height="50" src="{{ asset(model.getImage()) }}"></a>

        {% if model.price > 0 %}<div class="price">{{ model.price|number_format(2, ",", ".") }} din.</div>{% endif %}
        {% if model.package %}<div class="package">{{ model.package }}</div>{% endif %}


    </li>
{% endfor %}
</ul><br clear="all">